package com.scada.hessian.client.impl;

import com.scada.inf.MemberInfoVisitor;
import com.scada.model.bean.MemberInfo;
import com.scada.model.bean.vo.ReturnTimeEdit;
import com.scada.model.result.ResponseBean;
import com.scada.model.search.MemberInfoSearch;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("memberInfoVisitorService")
public class MemberInfoVisitorClient extends BaseClient<MemberInfoVisitor> implements MemberInfoVisitor{

	@Override
	public void deleteMemberInfoById(String isShow, String ids) {
		
		getVistor().deleteMemberInfoById(isShow, ids);
	}

	@Override
	public void insertMemberInfo(MemberInfo memberInfo, String intentionService, String custTypeStr) {
		
		getVistor().insertMemberInfo(memberInfo, intentionService, custTypeStr);
	}

	@Override
	public ResponseBean getMemberInfoById(Long id) {
		
		return getVistor().getMemberInfoById(id);
	}

	@Override
	public void updateMemberInfo(MemberInfo memberInfo, String intentionService, String custTypeStr) {
		
		getVistor().updateMemberInfo(memberInfo, intentionService, custTypeStr);
	}

	@Override
	public ResponseBean getMemberInfoPageData(MemberInfoSearch memberInfoSearch) {
		
		return getVistor().getMemberInfoPageData(memberInfoSearch);
	}

	@Override
	public ResponseBean getSelectMemberData(Integer pageSize, Integer currentPage, String searchName) {
		
		return getVistor().getSelectMemberData(pageSize, currentPage, searchName);
	}

	@Override
	public ResponseBean getMemberInfoDetail(Long id) {
		
		return getVistor().getMemberInfoDetail(id);
	}

	@Override
	public ResponseBean validateMemberRepeat(String mobile, String email1, Long id) {
		
		return getVistor().validateMemberRepeat(mobile, email1, id);
	}

	@Override
	public ResponseBean updateReturnTime(ReturnTimeEdit returnTimeEdit) {
		
		return getVistor().updateReturnTime(returnTimeEdit);
	}

}
